package com.newcoin.xgb.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class QueryParameterDto implements Serializable {

    @NotBlank(message = "用户id不能为空")
    private Long userId;

    @NotBlank(message = "令牌不能为空")
    private String token;

    /**
     * 当前页
     */
    private Long page = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 类型
     */
    private Integer type;
}
